<?php

/**
 * Courte description du fichier
 *
 * Description plus détaillée du fichier (si besoin en est)...
 *
 * PHP 5.3
 *
 * LICENSE: This source file is subject to version 3.0 of the PHP license
 * that is available through the world-wide-web at the following URI:
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 * the PHP License and are unable to obtain it through the web, please
 * send a note to license@php.net so we can mail you a copy immediately.
 *
 * @category   Catégorie
 * @package    Package
 * @author     Mathieu Slosar <mathieu.slosar@catel.pro>
 * @author     Guillaume Jan <guillaume.jan@catel.pro>
 * @copyright  2013 CATEL
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
 * @version    PHP 5.3
 * @link       http://pear.php.net/package/PackageName
 * @see        NetOther, Net_Sample::Net_Sample()
 * @since      File available since Release 1.1.0 
 */

/**
 * Placez ici les includes, les définitions de constantes
 * et les configurations des $_GLOBAL.
 * Assurez-vous d'ajouter les commentaires
 * docblocks pour éviter que phpDocumentor
 * assume qu'elles sont documentées dans les commentaires générals du fichier.
 */

include($_SERVER["DOCUMENT_ROOT"]."/bob.php");
include("../fonctions_forum.php");
$mysqli = new_mysqli($host, $user, $password, $database); //connection à la DB


$var_get=  filter_input_array(INPUT_GET);
$rqt_message="SELECT post_text FROM forum_posts WHERE post_id=".$var_get['post_id'];
$result = mysqli_query_with_error($mysqli, $rqt_message);
$ligne = $result->fetch_assoc();
echo $ligne['post_text'];

